package com.spoplar.common;

/**
 * Created by spoplar on 18-2-2.
 */
public enum TradeStatus {

    PREPAYING("下单支付中", 0),
    PAYING("支付中", 1),
    PAYED("已支付", 2),
    REFUNDING("退款中", 3),
    REFUNDED("已退款", 4),
    CANCELING("取消中", 5),
    CANCELED("已取消", 6);

    private String msg;
    private int code;

    TradeStatus(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
